package com.sanctuary.dao.interfaces;

import java.sql.SQLException;
import java.util.List;

import com.sanctuary.models.Post;

public interface PostDao {
	public int save(Post p) throws SQLException;
	public int delete (Post p) throws SQLException;
	public List<Post> findByRatingThreshold (int threshold) throws SQLException;
	public Post findById(int id) throws SQLException;
}
